#import "VortexQuirkCell.h"


@implementation VortexQuirkCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
	self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
	if (self) {

		self.selectionStyle = UITableViewCellSelectionStyleNone;
		//self.contentView.backgroundColor = UIColor.whiteColor;

		//: 初始化UI布局
		[self nostalgiaInitUIKit];
	}
	return self;
}

- (void)setKnotPioneerWaffle:(VortexQuirkModel *)knotPioneerWaffle {
	_knotPioneerWaffle = knotPioneerWaffle;

	//: 配置cell的UI



}
- (UITextField *)yonderRadiateSilhouetteTextField {
	if (!_yonderRadiateSilhouetteTextField) {
	
        _yonderRadiateSilhouetteTextField = [[UITextField alloc] initWithFrame:CGRectZero];
        _yonderRadiateSilhouetteTextField.frame = CGRectMake(11, 37, 173, 187);
	}
	return _yonderRadiateSilhouetteTextField;
}

//: self.cableButton 的点击事件
- (void)action_4 {}

- (void)nostalgiaInitUIKit {

    //: 描述_0
    self.windfallView = [[UIView alloc] initWithFrame:CGRectZero];
    self.windfallView.frame = CGRectMake(18, 27, 82, 161);
    [self.contentView addSubview:self.windfallView];

	//: 描述_1
	[self.contentView addSubview:self.yonderRadiateSilhouetteTextField];


    //: 描述_2
    UIView *knotKeyhole = [UIView new];
    self.hummingbirdZealotGlimpseView = knotKeyhole;
    [self.contentView addSubview:knotKeyhole];
	[self.hummingbirdZealotGlimpseView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(55);
		make.height.mas_equalTo(58);
		make.bottom.equalTo(@(30));
	}];


    //: 描述_3
    UIImageView *imaginationXenophileUndertow = [UIImageView new];
    imaginationXenophileUndertow.contentMode = UIViewContentModeScaleAspectFill;
    imaginationXenophileUndertow.clipsToBounds = YES;
    imaginationXenophileUndertow.layer.cornerRadius = 14;
    imaginationXenophileUndertow.layer.masksToBounds = YES;
    imaginationXenophileUndertow.size = CGSizeMake(113, 130);
    imaginationXenophileUndertow.left = 48;
    imaginationXenophileUndertow.top = 23;
    UIImage *forest = [UIImage imageNamed:@"images/image_3.png"];
    if (forest) {
	    imaginationXenophileUndertow.image = forest;
    }
    self.wispImageView = imaginationXenophileUndertow;
    [self.contentView addSubview:imaginationXenophileUndertow];


    //: 描述_4
    self.cableButton = [[UIButton alloc] init];
    UIImage *swoopXenial = [UIImage imageNamed:@"images/icon_4.png"];
    if (swoopXenial) {
	    [self.cableButton setImage:swoopXenial forState:UIControlStateNormal];
    }
    [self.cableButton setTitle:@"button_4" forState:UIControlStateNormal];
    [self.cableButton setTitle:@"button_selected_4" forState:UIControlStateSelected];
    [self.cableButton setTitleColor:[UIColor colorWithRed:24/255.0 green:159/255.0 blue:121/255.0 alpha:0.9] forState:UIControlStateNormal];
    [self.cableButton setTitleColor:[UIColor colorWithRed:62/255.0 green:147/255.0 blue:53/255.0 alpha:0.7] forState:UIControlStateSelected];
    [self.cableButton addTarget:self action:@selector(action_4) forControlEvents:UIControlEventTouchUpInside];
    [self.contentView addSubview:self.cableButton];
	[self.cableButton mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(30);
		make.height.mas_equalTo(181);
	}];
}


@end